package com.ruoyi.system.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.his.domain.HisDepartment;
import com.ruoyi.his.domain.OdsHospitalAll;
import com.ruoyi.his.domain.vo.QueryAnalysisDo;
import com.ruoyi.system.domain.HisHospitalNation;
import com.ruoyi.system.domain.vo.HisHospitalNationVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

/**
 * 国家机构Mapper接口
 * 
 * @author Alan
 * @date 2024-03-07
 */
public interface HisHospitalNationMapper extends BaseMapper<HisHospitalNation>
{
    public Long selectAnalysisResult(QueryAnalysisDo queryAnalysisDo);
    /**
     * 查询国家机构
     * 
     * @param uniqueCode 国家机构主键
     * @return 国家机构
     */
    public HisHospitalNation selectHisHospitalNationByUniqueCode(Integer uniqueCode);

    /**
     * 查询国家机构列表
     * 
     * @param hisHospitalNation 国家机构
     * @return 国家机构集合
     */
    public List<HisHospitalNation> selectHisHospitalNationList(HisHospitalNation hisHospitalNation);

    /**
     * 新增国家机构
     * 
     * @param hisHospitalNation 国家机构
     * @return 结果
     */
    public int insertHisHospitalNation(HisHospitalNation hisHospitalNation);

    /**
     * 修改国家机构
     * 
     * @param hisHospitalNation 国家机构
     * @return 结果
     */
    public int updateHisHospitalNation(HisHospitalNation hisHospitalNation);

    /**
     * 删除国家机构
     * 
     * @param uniqueCode 国家机构主键
     * @return 结果
     */
    public int deleteHisHospitalNationByUniqueCode(Integer uniqueCode);

    /**
     * 批量删除国家机构
     * 
     * @param uniqueCodes 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHisHospitalNationByUniqueCodes(Integer[] uniqueCodes);

    Map getlist(@Param("hospitalIds") List<String> hospitalIds,@Param("signatures") List<String> signatures);

    List<HisDepartment> gettotle(@Param("hospitalIds") List<String> hospitalIds, @Param("signatures") List<String> signatures);

    List<HisHospitalNationVo> selectHisHospitalNationLists(HisHospitalNation hisHospitalNation);

    List<OdsHospitalAll> selectHisHospitalNationLists1(HisHospitalNation hisHospitalNation);
}
